package com.usian.user.feign;

import com.usian.common.pojo.Sj;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "day10-mapenghui-que")
public interface ExamFeign {

    @GetMapping("sj/getNewestExam")
    List<Sj> getNewestExam();
}
